<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>dil.doc.DDocEmitter</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "dil.doc.DDocEmitter";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/dil.doc.DDocEmitter.html" class="symbol">dil.doc.DDocEmitter</a></h1>
  
<p class="sec_header">Author:</p>Aziz Köksal
<p class="sec_header">License:</p>GPL3
 <p><b>Maturity:</b> high.</p>
<dl>
<dt class="decl">class <a class="symbol _class" name="DDocEmitter" href="./htmlsrc/dil.doc.DDocEmitter.html#L28" kind="class" beg="28" end="833">DDocEmitter</a> : DefaultVisitor; <span class="attrs">[<span class="stc">abstract</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L28">#</a></dt>
<dd class="ddef">
<div class="summary">Traverses the syntax tree and writes DDoc macros to a string buffer.</div>
<dl>
<dt class="decl">char[] <a class="symbol _variable" name="DDocEmitter.text" href="./htmlsrc/dil.doc.DDocEmitter.html#L30" kind="variable" beg="30" end="30">text</a>; <a title="Permalink to this symbol" href="#DDocEmitter.text" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L30">#</a></dt>
<dd class="ddef">
<div class="summary">The buffer that is written to.</div></dd>
<dt class="decl">bool <a class="symbol _variable" name="DDocEmitter.includeUndocumented" href="./htmlsrc/dil.doc.DDocEmitter.html#L31" kind="variable" beg="31" end="31">includeUndocumented</a>; <a title="Permalink to this symbol" href="#DDocEmitter.includeUndocumented" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L31">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">MacroTable <a class="symbol _variable" name="DDocEmitter.mtable" href="./htmlsrc/dil.doc.DDocEmitter.html#L32" kind="variable" beg="32" end="32">mtable</a>; <a title="Permalink to this symbol" href="#DDocEmitter.mtable" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L32">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">Module <a class="symbol _variable" name="DDocEmitter.modul" href="./htmlsrc/dil.doc.DDocEmitter.html#L33" kind="variable" beg="33" end="33">modul</a>; <a title="Permalink to this symbol" href="#DDocEmitter.modul" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L33">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">TokenHighlighter <a class="symbol _variable" name="DDocEmitter.tokenHL" href="./htmlsrc/dil.doc.DDocEmitter.html#L34" kind="variable" beg="34" end="34">tokenHL</a>; <a title="Permalink to this symbol" href="#DDocEmitter.tokenHL" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L34">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _ctor" name="DDocEmitter.this" href="./htmlsrc/dil.doc.DDocEmitter.html#L42" kind="ctor" beg="42" end="49">this</a><span class="params">(Module <em>modul</em>, MacroTable <em>mtable</em>, bool <em>includeUndocumented</em>, TokenHighlighter <em>tokenHL</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L42">#</a></dt>
<dd class="ddef">
<div class="summary">Constructs a DDocEmitter object.</div>
<p class="sec_header">Params:</p>
<table class="params">
<tr><td><em>modul</em></td><td>the module to generate text for.</td></tr>
<tr><td><em>mtable</em></td><td>the macro table.</td></tr>
<tr><td><em>includeUndocumented</em></td><td>whether to include undocumented symbols.</td></tr>
<tr><td><em>tokenHL</em></td><td>used to highlight code sections.</td></tr></table></dd>
<dt class="decl">char[] <a class="symbol _function" name="DDocEmitter.emit" href="./htmlsrc/dil.doc.DDocEmitter.html#L52" kind="function" beg="52" end="81">emit</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#DDocEmitter.emit" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L52">#</a></dt>
<dd class="ddef">
<div class="summary">Entry method.</div></dd>
<dt class="decl">bool <a class="symbol _function" name="DDocEmitter.isDDocFile" href="./htmlsrc/dil.doc.DDocEmitter.html#L84" kind="function" beg="84" end="93">isDDocFile</a><span class="params">(Module <em>mod</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.isDDocFile" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L84">#</a></dt>
<dd class="ddef">
<div class="summary">Returns true if the source text starts with "Ddoc\n" (ignores letter case.)</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="DDocEmitter.getDDocText" href="./htmlsrc/dil.doc.DDocEmitter.html#L96" kind="function" beg="96" end="104">getDDocText</a><span class="params">(Module <em>mod</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.getDDocText" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L96">#</a></dt>
<dd class="ddef">
<div class="summary">Returns the DDoc text of this module.</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="DDocEmitter.textSpan" href="./htmlsrc/dil.doc.DDocEmitter.html#L106" kind="function" beg="106" end="112">textSpan</a><span class="params">(Token* <em>left</em>, Token* <em>right</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.textSpan" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L106">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">TemplateParameters <a class="symbol _variable" name="DDocEmitter.tparams" href="./htmlsrc/dil.doc.DDocEmitter.html#L115" kind="variable" beg="115" end="115">tparams</a>; <a title="Permalink to this symbol" href="#DDocEmitter.tparams" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L115">#</a></dt>
<dd class="ddef">
<div class="summary">The template parameters of the current declaration.</div></dd>
<dt class="decl">string[] <a class="symbol _variable" name="DDocEmitter.fqnStack" href="./htmlsrc/dil.doc.DDocEmitter.html#L119" kind="variable" beg="119" end="119">fqnStack</a>; <a title="Permalink to this symbol" href="#DDocEmitter.fqnStack" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L119">#</a></dt>
<dd class="ddef">
<div class="summary">Reflects the fully qualified name of the current symbol's parent.
 A push occurs when entering a scope and a pop when exiting it.</div></dd>
<dt class="decl">uint[string] <a class="symbol _variable" name="DDocEmitter.fqnCount" href="./htmlsrc/dil.doc.DDocEmitter.html#L122" kind="variable" beg="122" end="122">fqnCount</a>; <a title="Permalink to this symbol" href="#DDocEmitter.fqnCount" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L122">#</a></dt>
<dd class="ddef">
<div class="summary">Counts symbols with the same FQN.
 This is useful for anchor names that require unique strings.</div></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.pushFQN" href="./htmlsrc/dil.doc.DDocEmitter.html#L125" kind="function" beg="125" end="129">pushFQN</a><span class="params">(string <em>fqn</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.pushFQN" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L125">#</a></dt>
<dd class="ddef">
<div class="summary">Pushes an identifier onto the stack.</div></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.popFQN" href="./htmlsrc/dil.doc.DDocEmitter.html#L131" kind="function" beg="131" end="135">popFQN</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#DDocEmitter.popFQN" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L131">#</a></dt>
<dd class="ddef">
<div class="summary">Pops an identifier from the stack.</div></dd>
<dt class="decl">string <a class="symbol _function" name="DDocEmitter.getSymbolFQN" href="./htmlsrc/dil.doc.DDocEmitter.html#L138" kind="function" beg="138" end="155">getSymbolFQN</a><span class="params">(string <em>name</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.getSymbolFQN" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L138">#</a></dt>
<dd class="ddef">
<div class="summary">Returns a unique, identifying string for the current symbol.</div></dd>
<dt class="decl">DDocComment <a class="symbol _variable" name="DDocEmitter.cmnt" href="./htmlsrc/dil.doc.DDocEmitter.html#L157" kind="variable" beg="157" end="157">cmnt</a>; <a title="Permalink to this symbol" href="#DDocEmitter.cmnt" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L157">#</a></dt>
<dd class="ddef">
<div class="summary">Current comment.</div></dd>
<dt class="decl">DDocComment <a class="symbol _variable" name="DDocEmitter.prevCmnt" href="./htmlsrc/dil.doc.DDocEmitter.html#L158" kind="variable" beg="158" end="158">prevCmnt</a>; <a title="Permalink to this symbol" href="#DDocEmitter.prevCmnt" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L158">#</a></dt>
<dd class="ddef">
<div class="summary">Previous comment in scope.</div></dd>
<dt class="decl">DDocComment <a class="symbol _variable" name="DDocEmitter.emptyCmnt" href="./htmlsrc/dil.doc.DDocEmitter.html#L160" kind="variable" beg="160" end="160">emptyCmnt</a>; <span class="attrs">[<span class="stc">static</span>, <span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.emptyCmnt" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L160">#</a></dt>
<dd class="ddef">
<div class="summary">An empty comment. Used for undocumented symbols.</div></dd>
<dt class="decl">static <a class="symbol _sctor" name="DDocEmitter.this:2" href="./htmlsrc/dil.doc.DDocEmitter.html#L163" kind="sctor" beg="163" end="166">this</a>(); <a title="Permalink to this symbol" href="#DDocEmitter.this:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L163">#</a></dt>
<dd class="ddef">
<div class="summary">Initializes the empty comment.</div></dd>
<dt class="decl">class <a class="symbol _class" name="DDocEmitter.DDocScope" href="./htmlsrc/dil.doc.DDocEmitter.html#L169" kind="class" beg="169" end="196">DDocScope</a>; <span class="attrs">[<span class="stc">scope</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.DDocScope" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L169">#</a></dt>
<dd class="ddef">
<div class="summary">Keeps track of previous comments in each scope.</div>
<dl>
<dt class="decl">DDocComment <a class="symbol _variable" name="DDocEmitter.DDocScope.saved_prevCmnt" href="./htmlsrc/dil.doc.DDocEmitter.html#L171" kind="variable" beg="171" end="171">saved_prevCmnt</a>; <a title="Permalink to this symbol" href="#DDocEmitter.DDocScope.saved_prevCmnt" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L171">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">bool <a class="symbol _variable" name="DDocEmitter.DDocScope.saved_cmntIsDitto" href="./htmlsrc/dil.doc.DDocEmitter.html#L172" kind="variable" beg="172" end="172">saved_cmntIsDitto</a>; <a title="Permalink to this symbol" href="#DDocEmitter.DDocScope.saved_cmntIsDitto" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L172">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uint <a class="symbol _variable" name="DDocEmitter.DDocScope.saved_prevDeclOffset" href="./htmlsrc/dil.doc.DDocEmitter.html#L173" kind="variable" beg="173" end="173">saved_prevDeclOffset</a>; <a title="Permalink to this symbol" href="#DDocEmitter.DDocScope.saved_prevDeclOffset" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L173">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _ctor" name="DDocEmitter.DDocScope.this" href="./htmlsrc/dil.doc.DDocEmitter.html#L177" kind="ctor" beg="177" end="187">this</a><span class="params">(string <em>name</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.DDocScope.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L177">#</a></dt>
<dd class="ddef">
<div class="summary">When constructed, variables are saved.</div>
<p class="sec_header">Params:</p>
<table class="params">
<tr><td><em>name</em></td><td>the name of the current symbol.</td></tr></table></dd>
<dt class="decl"><a class="symbol _dtor" name="DDocEmitter.DDocScope.~this" href="./htmlsrc/dil.doc.DDocEmitter.html#L189" kind="dtor" beg="189" end="195">~this</a>(); <a title="Permalink to this symbol" href="#DDocEmitter.DDocScope.~this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L189">#</a></dt>
<dd class="ddef">
<div class="summary">When destructed, variables are restored.</div></dd></dl></dd>
<dt class="decl">bool <a class="symbol _variable" name="DDocEmitter.cmntIsDitto" href="./htmlsrc/dil.doc.DDocEmitter.html#L198" kind="variable" beg="198" end="198">cmntIsDitto</a>; <a title="Permalink to this symbol" href="#DDocEmitter.cmntIsDitto" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L198">#</a></dt>
<dd class="ddef">
<div class="summary">True if current comment is "ditto".</div></dd>
<dt class="decl">DDocComment <a class="symbol _function" name="DDocEmitter.ddoc" href="./htmlsrc/dil.doc.DDocEmitter.html#L201" kind="function" beg="201" end="214">ddoc</a><span class="params">(Node <em>node</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.ddoc" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L201">#</a></dt>
<dd class="ddef">
<div class="summary">Sets some members and returns the DDocComment for node.</div></dd>
<dt class="decl">char[][char[]] <a class="symbol _variable" name="DDocEmitter.specialSections" href="./htmlsrc/dil.doc.DDocEmitter.html#L217" kind="variable" beg="217" end="217">specialSections</a>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.specialSections" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L217">#</a></dt>
<dd class="ddef">
<div class="summary">List of predefined, special sections.</div></dd>
<dt class="decl">static <a class="symbol _sctor" name="DDocEmitter.this:3" href="./htmlsrc/dil.doc.DDocEmitter.html#L218" kind="sctor" beg="218" end="225">this</a>(); <a title="Permalink to this symbol" href="#DDocEmitter.this:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L218">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.writeComment" href="./htmlsrc/dil.doc.DDocEmitter.html#L228" kind="function" beg="228" end="264">writeComment</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#DDocEmitter.writeComment" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L228">#</a></dt>
<dd class="ddef">
<div class="summary">Writes the DDoc comment to the text buffer.</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="DDocEmitter.replace_" href="./htmlsrc/dil.doc.DDocEmitter.html#L267" kind="function" beg="267" end="272">replace_</a><span class="params">(char[] <em>str</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.replace_" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L267">#</a></dt>
<dd class="ddef">
<div class="summary">Replaces occurrences of '_' with ' ' in str.</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="DDocEmitter.scanCommentText" href="./htmlsrc/dil.doc.DDocEmitter.html#L283" kind="function" beg="283" end="387">scanCommentText</a><span class="params">(char[] <em>text</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.scanCommentText" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L283">#</a></dt>
<dd class="ddef">
<div class="summary">Scans the comment text and:
 <ul>
 <li>skips and leaves macro invocations unchanged</li>
 <li>skips HTML tags</li>
 <li>escapes '<', '>' and '&' with named HTML entities</li>
 <li>inserts $&#40;LP&#41;/$&#40;RP&#41; in place of '('/')'</li>
 <li>inserts $&#40;DDOC_BLANKLINE&#41; in place of '\n\n'</li>
 <li>highlights the tokens in code sections</li>
 </ul></div></dd>
<dt class="decl">char[] <a class="symbol _function" name="DDocEmitter.escape" href="./htmlsrc/dil.doc.DDocEmitter.html#L390" kind="function" beg="390" end="407">escape</a><span class="params">(char[] <em>text</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.escape" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L390">#</a></dt>
<dd class="ddef">
<div class="summary">Escapes '&lt;', '&gt;' and '&amp;' with named HTML entities.</div></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.write" href="./htmlsrc/dil.doc.DDocEmitter.html#L410" kind="function" beg="410" end="414">write</a><span class="params">(char[][] <em>strings</em>...)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.write" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L410">#</a></dt>
<dd class="ddef">
<div class="summary">Writes an array of strings to the text buffer.</div></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.writeParams" href="./htmlsrc/dil.doc.DDocEmitter.html#L417" kind="function" beg="417" end="444">writeParams</a><span class="params">(Parameters <em>params</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.writeParams" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L417">#</a></dt>
<dd class="ddef">
<div class="summary">Writes params to the text buffer.</div></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.writeTemplateParams" href="./htmlsrc/dil.doc.DDocEmitter.html#L447" kind="function" beg="447" end="455">writeTemplateParams</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#DDocEmitter.writeTemplateParams" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L447">#</a></dt>
<dd class="ddef">
<div class="summary">Writes the current template parameters to the text buffer.</div></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.writeInheritanceList" href="./htmlsrc/dil.doc.DDocEmitter.html#L458" kind="function" beg="458" end="467">writeInheritanceList</a><span class="params">(BaseClassType[] <em>bases</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.writeInheritanceList" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L458">#</a></dt>
<dd class="ddef">
<div class="summary">Writes bases to the text buffer.</div></dd>
<dt class="decl">uint <a class="symbol _variable" name="DDocEmitter.prevDeclOffset" href="./htmlsrc/dil.doc.DDocEmitter.html#L470" kind="variable" beg="470" end="470">prevDeclOffset</a>; <a title="Permalink to this symbol" href="#DDocEmitter.prevDeclOffset" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L470">#</a></dt>
<dd class="ddef">
<div class="summary">Offset at which to insert a declaration with a "ditto" comment.</div></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.DECL" href="./htmlsrc/dil.doc.DDocEmitter.html#L473" kind="function" beg="473" end="511">DECL</a><span class="params">(void delegate() <em>dg</em>, Declaration <em>d</em>, bool <em>writeSemicolon</em> = true)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.DECL" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L473">#</a></dt>
<dd class="ddef">
<div class="summary">Writes a declaration to the text buffer.</div></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.DESC" href="./htmlsrc/dil.doc.DDocEmitter.html#L515" kind="function" beg="515" end="523">DESC</a><span class="params">(void delegate() <em>dg</em> = null)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.DESC" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L515">#</a></dt>
<dd class="ddef">
<div class="summary">Wraps the DDOC_DECL_DD macro around the text written by dg().
 Writes the comment before dg() is called.</div></dd>
<dt class="decl">string <a class="symbol _variable" name="DDocEmitter.currentSymbolParams" href="./htmlsrc/dil.doc.DDocEmitter.html#L526" kind="variable" beg="526" end="526">currentSymbolParams</a>; <a title="Permalink to this symbol" href="#DDocEmitter.currentSymbolParams" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L526">#</a></dt>
<dd class="ddef">
<div class="summary">Saves the current symbol parameters.</div></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.SYMBOL" href="./htmlsrc/dil.doc.DDocEmitter.html#L530" kind="function" beg="530" end="539">SYMBOL</a><span class="params">(string <em>name</em>, string <em>kind</em>, Declaration <em>d</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.SYMBOL" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L530">#</a></dt>
<dd class="ddef">
<div class="summary">Writes a symbol to the text buffer.
 E.g: &#36;(DIL_SYMBOL scan, Lexer.scan, func, 229, 646);</div></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.MEMBERS" href="./htmlsrc/dil.doc.DDocEmitter.html#L543" kind="function" beg="543" end="550">MEMBERS</a><span class="tparams">(D)</span><span class="params">(string <em>kind</em>, string <em>name</em>, D <em>members</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.MEMBERS" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L543">#</a></dt>
<dd class="ddef">
<div class="summary">Wraps the DDOC_kind_MEMBERS macro around the text
 written by visit(members).</div></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.writeClassOrInterface" href="./htmlsrc/dil.doc.DDocEmitter.html#L553" kind="function" beg="553" end="566">writeClassOrInterface</a><span class="tparams">(T)</span><span class="params">(T <em>d</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.writeClassOrInterface" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L553">#</a></dt>
<dd class="ddef">
<div class="summary">Writes a class or interface declaration.</div></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.writeStructOrUnion" href="./htmlsrc/dil.doc.DDocEmitter.html#L569" kind="function" beg="569" end="582">writeStructOrUnion</a><span class="tparams">(T)</span><span class="params">(T <em>d</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.writeStructOrUnion" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L569">#</a></dt>
<dd class="ddef">
<div class="summary">Writes a struct or union declaration.</div></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.writeAliasOrTypedef" href="./htmlsrc/dil.doc.DDocEmitter.html#L585" kind="function" beg="585" end="600">writeAliasOrTypedef</a><span class="tparams">(T)</span><span class="params">(T <em>d</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.writeAliasOrTypedef" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L585">#</a></dt>
<dd class="ddef">
<div class="summary">Writes an alias or typedef declaration.</div></dd>
<dt class="decl">void <a class="symbol _function" name="DDocEmitter.writeAttributes" href="./htmlsrc/dil.doc.DDocEmitter.html#L603" kind="function" beg="603" end="631">writeAttributes</a><span class="params">(Declaration <em>d</em>)</span>; <a title="Permalink to this symbol" href="#DDocEmitter.writeAttributes" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L603">#</a></dt>
<dd class="ddef">
<div class="summary">Writes the attributes of a declaration in brackets.</div></dd>
<dt class="decl">alias Declaration <a class="symbol _alias" name="DDocEmitter.D" href="./htmlsrc/dil.doc.DDocEmitter.html#L633" kind="alias" beg="633" end="633">D</a>; <a title="Permalink to this symbol" href="#DDocEmitter.D" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L633">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit" href="./htmlsrc/dil.doc.DDocEmitter.html#L636" kind="function" beg="636" end="641">visit</a><span class="params">(AliasDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L636">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:2" href="./htmlsrc/dil.doc.DDocEmitter.html#L643" kind="function" beg="643" end="648">visit</a><span class="params">(TypedefDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L643">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:3" href="./htmlsrc/dil.doc.DDocEmitter.html#L650" kind="function" beg="650" end="661">visit</a><span class="params">(EnumDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L650">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:4" href="./htmlsrc/dil.doc.DDocEmitter.html#L663" kind="function" beg="663" end="670">visit</a><span class="params">(EnumMemberDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:4" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L663">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:5" href="./htmlsrc/dil.doc.DDocEmitter.html#L672" kind="function" beg="672" end="690">visit</a><span class="params">(TemplateDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:5" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L672">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:6" href="./htmlsrc/dil.doc.DDocEmitter.html#L692" kind="function" beg="692" end="696">visit</a><span class="params">(ClassDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:6" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L692">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:7" href="./htmlsrc/dil.doc.DDocEmitter.html#L698" kind="function" beg="698" end="702">visit</a><span class="params">(InterfaceDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:7" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L698">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:8" href="./htmlsrc/dil.doc.DDocEmitter.html#L704" kind="function" beg="704" end="708">visit</a><span class="params">(StructDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:8" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L704">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:9" href="./htmlsrc/dil.doc.DDocEmitter.html#L710" kind="function" beg="710" end="714">visit</a><span class="params">(UnionDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:9" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L710">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:10" href="./htmlsrc/dil.doc.DDocEmitter.html#L716" kind="function" beg="716" end="723">visit</a><span class="params">(ConstructorDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:10" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L716">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:11" href="./htmlsrc/dil.doc.DDocEmitter.html#L725" kind="function" beg="725" end="732">visit</a><span class="params">(StaticConstructorDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:11" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L725">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:12" href="./htmlsrc/dil.doc.DDocEmitter.html#L734" kind="function" beg="734" end="741">visit</a><span class="params">(DestructorDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:12" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L734">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:13" href="./htmlsrc/dil.doc.DDocEmitter.html#L743" kind="function" beg="743" end="750">visit</a><span class="params">(StaticDestructorDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:13" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L743">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:14" href="./htmlsrc/dil.doc.DDocEmitter.html#L752" kind="function" beg="752" end="765">visit</a><span class="params">(FunctionDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:14" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L752">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:15" href="./htmlsrc/dil.doc.DDocEmitter.html#L767" kind="function" beg="767" end="774">visit</a><span class="params">(NewDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:15" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L767">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:16" href="./htmlsrc/dil.doc.DDocEmitter.html#L776" kind="function" beg="776" end="783">visit</a><span class="params">(DeleteDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:16" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L776">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:17" href="./htmlsrc/dil.doc.DDocEmitter.html#L785" kind="function" beg="785" end="796">visit</a><span class="params">(VariablesDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:17" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L785">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:18" href="./htmlsrc/dil.doc.DDocEmitter.html#L798" kind="function" beg="798" end="805">visit</a><span class="params">(InvariantDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:18" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L798">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:19" href="./htmlsrc/dil.doc.DDocEmitter.html#L807" kind="function" beg="807" end="814">visit</a><span class="params">(UnittestDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:19" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L807">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:20" href="./htmlsrc/dil.doc.DDocEmitter.html#L816" kind="function" beg="816" end="820">visit</a><span class="params">(DebugDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:20" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L816">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:21" href="./htmlsrc/dil.doc.DDocEmitter.html#L822" kind="function" beg="822" end="826">visit</a><span class="params">(VersionDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:21" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L822">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">D <a class="symbol _function" name="DDocEmitter.visit:22" href="./htmlsrc/dil.doc.DDocEmitter.html#L828" kind="function" beg="828" end="832">visit</a><span class="params">(StaticIfDeclaration <em>d</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#DDocEmitter.visit:22" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.doc.DDocEmitter.html#L828">#</a></dt>
<dd class="ddef"></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright © 2007-2008, Aziz Köksal. All rights reserved.</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:12:59 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>